| GUI Help > Special > getSelStart | ||||||||||||||
|
getSelStart |
||||||||||||||
| int start=getSelStart(handle editGadget) | ||||||||||||||
|
Description: Retrieves the position of the caret in an edit gadget. |
||||||||||||||
|
Return Value: Position of the caret. The first possible position has a value of 0. If nothing is selected the return value is -1. |
||||||||||||||
| Parameters: | ||||||||||||||
|
||||||||||||||
| Remarks:
|
||||||||||||||
| See Also:
|
||||||||||||||
|
Example: (Note: You will need to include the GUI constants file for this example to work) |